Resource-aware system, method and program product for managing request traffic based on a management policy

ABSTRACT

Under the present invention, the performance of a set of system resources is monitored in response to incoming request traffic. When a system resource is approaching an overload condition, a corrective action is identified and implemented. Overload thresholds for each system resource and appropriate corrective actions are contained within a management policy. Based on a performance history of the corrective actions, the management policy can be changed/revised.

BACKGROUND OF THE INVENTION

1. Field of the Invention

In general, the present invention provides a system, method and program product for managing request traffic based on a management policy. Specifically, the present invention provides management of request traffic based on the performance of system resources in response to the request traffic.

2. Background Art

As computer technology continues to advance, the extent to which business and individuals rely on computer systems and networks in everyday life becomes more prevalent. For example, today a computer user can order goods/services or obtain information from the convenience of his/her computer. Internally, many businesses currently utilize computer networks to interconnect various departments and individuals. Tasks which were previously performed manually, or not at all, are now performed utilizing the computing resources of the business. For example, instead of manually searching books and files for information, a worker can conduct a search for needed information from his/her desktop computer. However, this increased use of computing resources often leads to a “pressure buildup” within the system. Specifically, as request traffic increases, the strain of processing the requests can cause a drain on server-side resources. Such a drain often leads to system failure such as the dropping of data packets, refusal of network connections, etc.

Heretofore, many attempts have been made to alleviate such system resource overload. One approach was to prioritize request traffic based on classes/types of requests. For example, requests were grouped into classes such as “gold” and “silver.” The “gold” requests were then given priority over the “silver” requests. However, this approach only increased the strain on the system when the “gold” requests were causing the overload conditions to begin with. For example, if the “gold” requests were for accessing storage resources, and the storage resources were approaching overload conditions, giving increased priority to the “gold” requests would only further push the storage resources to overload.

Another previous attempt to avoid system resource overload involved slowing all request traffic down, regardless of request class. This was generally accomplished by queuing all incoming requests. Unfortunately, this approach is extremely inefficient and could unnecessarily slow the entire system. For example, if “silver” requests were not adversely affecting the system to begin with, slowing the “silver” requests would only unnecessarily slow the system and frustrate the users. Accordingly, not only do previous attempts fail to manage request traffic based on performance of the system resources, but the previous attempts also fail to adjust their approach when a certain corrective action is ineffective.

In view of the foregoing, there exists a need for a resource-aware system, method and program product for managing request traffic based on a management policy. Specifically, a need exists for a system that manages request traffic based on specific resources that are approaching overload conditions. A further need exists for a performance of system resources to be monitored in response to request traffic, and based on a management policy, corrective actions to be taken when a system resource is approaching overload conditions. An additional need exists for the management policy to be changed based on a performance history of implemented corrective actions.

SUMMARY OF THE INVENTION

In general, the present invention provides a resource-aware system, method and program product for managing request traffic based on a management policy. Specifically, under the present invention, the performance of a set (i.e., one or more) of system resources is monitored in response to request traffic. When a particular system resource is approaching an overload condition, a corrective action is identified from the management policy and then implemented. The corrective action is typically identified based on the system resource that is approaching overload so that an appropriate and effective corrective action will be implemented. The management policy can be changed under the present invention to account for performance histories of the corrective actions. This allows ineffective corrective actions to be discarded and new corrective actions to be implemented.

According to a first aspect of the present invention, a resource-aware system for managing request traffic based on a management policy is provided. The system comprises: (1) an analyzer system for monitoring a performance of a set of system resources in response to the request traffic, and for determining when at least one of the set of system resources is approaching an overload condition based on the management policy; and (2) a planning system for identifying a corrective action to avoid the overload condition, wherein the corrective action is identified based on the at least one system resource that is approaching the overload condition and the management policy.

According to a second aspect of the present invention, a resource-aware method for managing request traffic based on a management policy is provided. The system comprises: (1) receiving the request traffic; (2) monitoring a performance of a set of system resources in response to the request traffic; (3) determining when at least one of the set of system resources is approaching an overload condition based on the management policy; and (4) identifying a corrective action to avoid the overload condition based on the at least one system resource that is approaching the overload condition and the management policy.

According to a third aspect of the present invention, a program product stored on a recordable medium for managing request traffic based on a management policy is provided. When executed, the program product comprises: (1) program code for monitoring performance of a set of system resources in response to incoming request traffic, and for determining when at least one of the set of system resources is approaching an overload condition based on the management policy; and (2) program code for identifying and implementing a corrective action to avoid the overload condition, wherein the corrective action is identified based on the at least one system resource that is approaching the overload condition and the management policy.

Therefore, the present invention provides a resource-aware system, method and program product for managing request traffic based on a management policy.

BRIEF DESCRIPTION OF THE DRAWINGS

These and other features of this invention will be more readily understood from the following detailed description of the various aspects of the invention taken in conjunction with the accompanying drawings in which:

FIG. 1 depicts a resource-aware system for managing request traffic based on a management policy according to the present invention.

FIG. 2 depicts more detailed diagram of the system of FIG. 1.

FIG. 3 depicts a method flow diagram according to the present invention.

The drawings are merely schematic representations, not intended to portray specific parameters of the invention. The drawings are intended to depict only typical embodiments of the invention, and therefore should not be considered as limiting the scope of the invention. In the drawings, like numbering represents like elements.

DETAILED DESCRIPTION OF THE INVENTION

As indicated above, the present invention provides a resource-aware system, method and program product for managing request traffic based on a management policy. Specifically, under the present invention a performance of a set (i.e., one or more) of system resources is monitored in response to request traffic. When a particular system resource is approaching an overload condition, a corrective action is identified from the management policy and then implemented. The corrective action is typically identified based on the system resource that is approaching overload so that an appropriate and effective corrective action will be implemented. The management policy can be changed under the present invention to account for performance histories of the corrective actions. This allows ineffective corrective actions to be discarded and new corrective actions to be implemented.

Referring now to FIG. 1, a resource-aware system for managing request traffic 18 based on a management policy is shown. Specifically, request traffic 18 is received from clients 16 by enterprise system 10. As shown, enterprise system 10 generally includes entry point node 12 and system resources 14. Enterprise system 10 is intended to represent any type of computer infrastructure that can process requests from clients 16. For example, enterprise system 10 could be the internal computing infrastructure use by a retail company. To this extent, clients 16 are intended to represent any system capable of generating and transmitting requests to enterprise system 10. For example, clients 16 could be web users attempting to order goods from the retail company. Alternatively, clients 16 could be employees of the retail company attempting to perform work-related tasks. Entry point node 12 is intended to represent any node that receives and routes incoming request traffic 18 among system resources 14. For example, entry point node 12 could be a load balancer, a request router, etc. As shown, system resources 14 generally include a network 12, one or more servers 26 and one or more storage units 28. It should be understood, however, that such system resources are shown for illustrative purposes only and that the teachings of the present invention could be implemented with any type and/or quantity of system resources.

Shown loaded on entry point node 12 is management system 30. As depicted, management system includes analyzer system 32, planning system 34 that includes corrective action system 36 and learning system 38, and storage system 40. Storage system 40 could be local (as shown) or remote and provides storage for information under the present invention. Such information could include, among other things, a management policy, a record of requests received, performance history of corrective actions, etc. Among other things, the management policy sets forth an overload threshold for each of the system resources 14. That is, the management policy will identify the point at which a system resource will be overloaded and possibly fail. The management policy will also identify a corresponding corrective action to be taken to avoid the overload condition.

Under the present invention, as request traffic 18 is received, analyzer system 32 of management system 30 will continuously monitor the performances of system resources 14. The monitoring is to see how system resources 14 are handling the various requests 20 and 22 in traffic 18. As shown in FIG. 1, requests 20 and 22 could be for any purpose. For example, requests 20 and 22 could be to access or perform some task over network 24, to access one or more servers 26, to access information in one or more storage units 28, etc. In monitoring system resources 14, any standard now known or later developed could be utilized. In a typical embodiment, the management policy will specify precisely how performance of a system resource should be monitored and measured. For example, network 24 performance could be monitored based on how many active connections exist. In this case, analyzer system 32 will continuously monitor the number of active network connections, and compare that number to an overload threshold (e.g., 1000 active connections) for network 24 as set forth in the management policy. If the number of connections is approaching an overload threshold as indicated in the policy, analyzer system 32 will communicate that information to planning system 34. To this extent, the management policy could include a set of threshold rules such as “when the number of connections to network 24 is equal to 1000 out of 1100 possible connections, inform planning system 34 to avoid overload.” Analyzer system 32 can also check storage system 40 to see what actions were previously taken to address the overload condition and whether they were successful. As will be further described below, a performance history of the corrective actions can be recorded so that ineffective corrective actions can be discarded. In any event, analyzer system 32 could communicate this information to planning system 34. A similar approach can be used to monitor servers 26 and storage units 28. With respect to servers 26, performance could be monitored based on, for example, a number of tasks a server is currently being requested to perform. With respect to storage units 28, performance could be monitored based on, for example, a quantity of information retrieval requests a storage unit 28 is processing at any one time.

If a particular system resource is approaching its overload threshold, corrective action system 36 will receive the information transmitted from analyzer system 32 and reference the management policy to identify and implement the most appropriate corrective action. Unlike previous systems, the corrective action is resource-based in that the requests that are causing the specific overload condition will be targeted. For example, if request 20 is of a certain type that primarily utilizes network 24, and network 24 is approaching its overload threshold, the corrective action will address requests 20 and will likely leave requests 22 alone. Conversely, if one of storage units 28 is approaching its overload threshold, the corrective action will likely address requests 22 as opposed to requests 20. Thus, the present invention can allow innocuous traffic to continue, thereby helping system performance without worsening system “pressure.”

In a typical embodiment, there are several types of corrective actions that can be implemented. The first type is to change a queue priority of requests 18 based on the type of request and what system resource is approaching the overload condition. For example, as shown, requests 20 are the type that primarily “task” network 24 and servers 26. Thus, if network 24 is approaching an overloaded condition, requests 20 will be given a lower queue priority so that fewer requests for network 24 connections are received and network 24 will not approach or exceed its overload threshold. Changing the queue priority of requests 20 may or may not lead to an increased priority of requests 22. If the altering of queue priority fails to remedy the overload condition, corrective action system 36 can take the more drastic action of discarding or excluding the requests causing the problems. Accordingly, if network 24 is approaching an overload condition, and changing the queue priority of requests 20 fails to remedy the problem, requests 20 can be excluded entirely so that overload does not occur. The exclusion will be followed by the transmission of a message describing the exclusion to the sending client 16. A third type of corrective action could be implemented based on the consumption of resources per request type, as monitored by analyzer system 32. For example, assume that each request 20 requires server 26 to perform an average of two tasks and a maximum of four. Further assume that each request 22 requires that server 26 perform an average of ten requests and a maximum of fifty. In this example, if server 26 is determined to be approaching an overload condition, corrective action system 36 could receive the consumption information from analyzer system 32 and “intelligently” decide to limit requests 22, but not requests 20. The “intelligence” for such a limitation could be provided as one or more rules in the management policy.

In performing any corrective action, the management policy could optionally set forth a bottom threshold for returning to “normal” status. For example, if the overload threshold for network 24 is 1000 connections, the management policy could also state that once the number of connections falls below 800, corrective action system 36 will cease implementing the corrective actions (until the overload threshold of 1000 connections is approached again). As indicated above, analyzer system 32 is continuously monitoring the performances of system resources 14. Any relevant information will be communicated to planning system 34 and used by corrective action system 36. Thus, if the queue priority of requests 20 was made lower to avoid crossing the overload threshold of network 24, the queue priority could be returned to normal when the number of network connections returns to “normal” levels (e.g., falls below the bottom threshold).

Learning system 38 of planning system 34 can dynamically change/amend the management policy based on the performance histories of the corrective actions. For example, if the queue priority of requests 20 are made lower in an attempt to avoid overloading of network 24, learning system 38 can change the management policy based on whether the lowering of the queue priority actually helped avoid overloading. To this extent, learning system 38 could use continuous monitoring information received from analyzer system 32. If it appears that the implemented corrective action is not helping to avoid overload conditions, learning system 38 will make a record of such in storage system 40 and change the management policy to reflect the failure. Changing of the management policy could be done in any manner. Examples include inserting a specific rule such as “do not adjust queue policy of requests 20 when attempting to avoiding overloading of network 24,” or a broader change such as entirely eliminating queue priority changes as a corrective action.

Referring now to FIG. 2, a more detailed diagram of entry point node 12 is shown. As depicted, entry point node 12 generally includes central processing unit (CPU) 50, memory 52, bus 54, input/output (I/O) interfaces 56 and external devices/resources 58. CPU 50 may comprise a single processing unit, or be distributed across one or more processing units in one or more locations, e.g., on a client and server. Memory 52 may comprise any known type of data storage and/or transmission media, including magnetic media, optical media, random access memory (RAM), read-only memory (ROM), a data cache, a data object, etc. Moreover, similar to CPU 50, memory 52 may reside at a single physical location, comprising one or more types of data storage, or be distributed across a plurality of physical systems in various forms.

I/O interfaces 56 may comprise any system for exchanging information to/from an external source. External devices/resources 58 may comprise any known type of external device, including speakers, a CRT, LED screen, hand-held device, keyboard, mouse, voice recognition system, speech output system, printer, monitor, facsimile, pager, etc. Bus 54 provides a communication link between each of the components in entry point node 12 and likewise may comprise any known type of transmission link, including electrical, optical, wireless, etc. In addition, although not shown, additional components, such as cache memory, communication systems, system software, etc., may be incorporated into entry point node 12.

As indicated above, entry point node 12 could include storage system 40 which can be local (as shown) or remote. To this extent, storage system 40 may include one or more storage devices, such as a magnetic disk drive or an optical disk drive. In another embodiment, storage system 40 includes data distributed across, for example, a local area network (LAN), wide area network (WAN) or a storage area network (SAN) (not shown). storage system 40 may also be configured in such a way that one of ordinary skill in the art may interpret it to include one or more storage devices.

It should be understood that communication between clients 16 and entry point node 12 can occur via a direct hardwired connection (e.g., serial port), or via an addressable connection in a client-server (or server-server) environment (as shown) which may utilize any combination of wireline and/or wireless transmission methods. In the case of the latter, the server and client may be connected via the Internet, a wide area network (WAN), a local area network (LAN), a virtual private network (VPN) or other private network. The server and client may utilize conventional network connectivity, such as Token Ring, Ethernet, WiFi or other conventional communications standards. Where the client communicates with the server via the Internet, connectivity could be provided by conventional TCP/IP sockets-based protocol. In this instance, the client would utilize an Internet service provider to establish connectivity to the server.

Stored in memory 52 of entry point node 12 is management system 30 program product. As shown, management system 30 includes analyzer system 32 and planning system 34, which itself includes corrective action system 36 and learning system 38. As indicated above, analyzer system 32 will continuously monitor the performances of system resources 14. Based on the management policy, analyzer system 32 will determine when a particular system resource (e.g., network, server 26, or storage unit 28) is approaching an overload condition. If an overload condition is being approached (as dictated by thresholds or rules in the management policy), analyzer system 32 will reference storage system 40 to determine what corrective actions were previously performed, and whether they were successful. Analyzer system 32 will then communicate this information to planning system 34. Upon receipt, corrective action system 36 will identify and implement appropriate corrective actions based on what system resource 14 is approaching an overload condition, and the management policy. Specifically, the management policy contains additional rules that dictate what corrective actions should be implemented to remedy specific overload conditions. Thus, for example, if network 24 is approaching an overload condition, the management policy could dictate that the queue priority of requests 20 should be lowered. As indicated above, if changing the queue priority does not work, other corrective actions such as excluding requests 20 all together could be implemented. Still yet, corrective action could be implemented based of the consumption of resources per request type. This is so that, for example, if requests 20 and requests 22 are both received by server 26, corrective action system 36 could limit either requests 20 or requests 22 based on which type consumes the most resources.

In any event, if the overload condition is avoided, corrective action system 36 could cease implementing the corrective action if the performance of the overloaded system resource (i.e., as continuously monitored by analyzer system 32) returns to a “normal” level. As corrective actions are implemented, learning system 38 will dynamically change the management policy to reflect the performance history thereof. This allows ineffective corrective actions to be removed from the management policy to prevent making futile efforts in the future, and increase the efficiency of the system accordingly.

Referring now to FIG. 3, a flow diagram of method 100 according to the present invention is shown. Request traffic is received in step 102. In step 104, the performance of a set of system resources is monitored in response to the request traffic. Based on the management policy, it is determined when at least one of the system resources is approaching an overload condition in step 106. Then, a corrective action to avoid the overload condition is identified and implemented in step 108. As indicated above, the corrective action is identified based on the particular system resource that is approaching overload condition, and the management policy.

It is understood that the present invention can be realized in hardware, software, or a combination of hardware and software. Any kind of computer/server system(s)—or other apparatus adapted for carrying out the methods described herein—is suited. A typical combination of hardware and software could be a general purpose computer system with a computer program that, when loaded and executed, controls entry point node 12 such that it carries out the respective methods described herein. Alternatively, a specific use computer, containing specialized hardware for carrying out one or more of the functional tasks of the invention, could be utilized. The present invention can also be embedded in a computer program product, which comprises all the respective features enabling the implementation of the methods described herein, and which—when loaded in a computer system—is able to carry out these methods. Computer program, software program, program, or software, in the present context mean any expression, in any language, code or notation, of a set of instructions intended to cause a system having an information processing capability to perform a particular function either directly or after either or both of the following: (a) conversion to another language, code or notation; and/or (b) reproduction in a different material form.

The foregoing description of the preferred embodiments of this invention has been presented for purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise form disclosed, and obviously, many modifications and variations are possible. Such modifications and variations that may be apparent to a person skilled in the art are intended to be included within the scope of this invention as defined by the accompanying claims. For example, although learning system 38 has been shown as part of planning system 34, it could actually be implemented as a separate system. 

1. A resource-aware system for managing request traffic based on a management policy, comprising: a node comprising; an analyzer system individually monitoring a performance, responsive to the request traffic, of each of a plurality of system resources in a set of system resources, every system resource in the set of system resources being of a different hardware type and handle handling a portion of the request traffic, and determine when at least one of the set of system resources is approaching an overload condition based on the management policy and a monitored performance of the at least one of the set of system resources; and a planning system identifying and implementing a corrective action to avoid the overload condition, the corrective action including restricting selected requests, having a first load characteristic, handled by the at least one of the system resources approaching the overload condition without restricting other requests, having a second load characteristic lower than the first load characteristic, handled by the at least one system resource, the restricting based upon the respective load characteristics, wherein the corrective action is identified based on the at least one system resource that is approaching the overload condition and the management policy, and wherein the corrective action comprises adjusting a queue priority of a type of request in the request traffic based on the at least one system resource that is approaching the overload condition.
 2. The system of claim 1, further comprising a learning system configured to change the management policy based on a performance history of the implemented corrective action.
 3. The system of claim 2, wherein the learning system works in conjunction with the analyzer system to monitor the performance history of the implemented corrective action.
 4. The system of claim 1, wherein the management policy contains overload thresholds and corrective actions to be taken.
 5. The system of claim 1, wherein the corrective action further comprises excluding at least one request in the request traffic based on the at least one system resource that is approaching the overload condition.
 6. The system of claim 1, wherein the corrective action further comprises limiting a type of request in the request traffic based on a consumption of the at least one system resource that is approaching the overload condition.
 7. The system of claim 1, wherein the set of system resources for which performance is monitored includes a storage device, a server and a network.
 8. A resource-aware method executed by a computer device for managing request traffic based on a management policy, comprising: receiving the request traffic; individually monitoring a performance, responsive to the request traffic, of each of a plurality of system resources in a set of system resources, every system resource in the set of system resources being of a different hardware type and handling a portion of the request traffic; determining when at least one of the set of system resources is approaching an overload condition based on the management policy, and a monitored performance of the at least one of the set of system resources; identifying a corrective action to avoid the overload condition based on the at least one system resource that is approaching the overload condition and the management policy; and restricting selected incoming requests, having a first load characteristic, handled by the at least one of the system resources approaching the overload condition without restricting other incoming requests, having a second load characteristic lower than the first load characteristic, handled by the at least one system resource, the restricting based upon the respective load characteristics, wherein the corrective action comprises adjusting a queue priority of a type of request in the request traffic based on the at least one system resource that is approaching the overload condition.
 9. The method of claim 8, further comprising changing the management policy based on a performance history of the corrective action.
 10. The method of claim 8, wherein the management policy contains overload thresholds and corrective actions to be taken.
 11. The method of claim 8, wherein the corrective action further comprises excluding at least one request in the request traffic based on the at least one system resource that is approaching the overload condition.
 12. The method of claim 8, wherein the corrective action further comprises limiting a type of request in the request traffic based on a consumption of the at least one system resource that is approaching the overload condition.
 13. The method of claim 8, wherein the set of system resources for which performance is monitored includes a storage device, a server and a network.
 14. A program product including a computer recordable storage device having stored therein computer usable program code for managing request traffic based on a management policy, the computer usable program code which when executed by a computer hardware device, causes the computer to perform receiving the request traffic; individually monitoring a performance, responsive to the request traffic, of each of a plurality of system resources in a set of system resources, every system resource in the set of system resources being of a different hardware type and handling a portion of the request traffic; determining when at least one of the set of system resources is approaching an overload condition based on the management policy, and a monitored performance of the at least one of the set of system resources; identifying a corrective action to avoid the overload condition based on the at least one system resource that is approaching the overload condition and the management policy; and restricting selected incoming requests, having a first load characteristic, handled by the at least one of the system resources approaching the overload condition without restricting other incoming requests, having a second load characteristic lower than the first load characteristic, handled by the at least one system resource, the restricting based upon the respective load characteristics, wherein the corrective action comprises adjusting a queue priority of a type of request in the request traffic based on the system resource that is approaching the overload condition.
 15. The program product of claim 14, further comprising program code for changing the management policy based on a performance history of the corrective action.
 16. The program product of claim 15, wherein the program code for changing the management policy works in conjunction with the program code for monitoring to monitor the performance history of the corrective action.
 17. The program product of claim 14, wherein the management policy contains overload thresholds and corrective actions to be taken.
 18. The program product of claim 14, wherein the corrective action further comprises excluding at least one request in the request traffic based on the at least one system resource that is approaching the overload condition.
 19. The program product of claim 14, wherein the corrective action further comprises limiting a type of request in the request traffic based on a consumption of the at least one system resource that is approaching the overload condition.
 20. The program product of claim 14, wherein the set of system resources for which performance is monitored includes a storage device, a server and a network. 